package ru.budget.mobile.data.sources.local.entities

import androidx.room.*
import ru.budget.mobile.ui.entities.*

@Entity(
    tableName = "consumptions"
)
data class ConsumptionDB(
    @PrimaryKey(
        autoGenerate = true
    ) val id: Long = 0,
    val title: String,
    val type: TransactionType,
    val category: CategoryEnum,
    val sum: Double,
    @Embedded val datetime: MyDate
)
